package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 疫苗分类
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("vaccine_sort")
@ApiModel(value = "VaccineSort对象", description = "疫苗分类")
public class VaccineSort implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分类id")
    @TableId(value = "vaccine_sort_id", type = IdType.AUTO)
    private Integer vaccineSortId;

    @ApiModelProperty("疫苗类别名称")
    @TableField("vaccine_sort_name")
    private String vaccineSortName;

    @ApiModelProperty("删除标志")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("创建者")
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("更新者")
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
    private String updateBy;


}
